<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			#parent{
				height: 400px;
				border: 10px red solid;
				display: flex;
				flex-direction: row;
				/* flex-wrap: wrap; */
				justify-content: flex-start;
				/* align-items: flex-start; */
				/* align-items: flex-start; */
				/* align-content: flex-end; */
			}
			
			.children{
				height: 60px;
				width: 60px;
				border: 5px black solid;
				/* flex-grow: 1; */
			}
			
/* 			#div3{
				flex-grow: 1;
			}
			
			#div4{
				flex-grow: 2;
			} */
			
			#div3{
				flex-shrink: 100;
			}
			
			#div4{
				align-self: flex-end;
			}
		</style>
	</head>
	<body>
		<div id="parent">
			<div class="children">1</div>
			<div class="children" style="order: -1;">2</div>
			<div class="children" id="div3">3</div>
			<div class="children" id="div4">4</div>
			<div class="children">5</div>
			<div class="children">6</div>
			<div class="children">7</div>
			<div class="children">8</div>
			<div class="children">9</div>
<!-- 			<div class="children">1</div>
			<div class="children">2</div>
			<div class="children">3</div>
			<div class="children">4</div> -->
			
		</div>
	</body>
</html>
